<style>
    .datetimepicker {
        display:none;!important;
    }
</style>
<div><div style="font-weight: bolder; margin-top:10px">
    <h2 align="left">Add User</h2>
</div>
    <form class="form-horizontal" method="post"  ng-controller="addUserCtrl" style="margin-top: 30px">
        <fieldset>
            <!--<legend>Add User</legend>-->
            <div class="form-group">
                <label for="username" class="col-sm-2 control-label">User Name:</label>
                <div class="col-sm-4">
                    <input type="text" class="form-control" ng-model="user.userName" placeholder="please input the user name">
                    <!--<p ng-style="color" ng-bind="message" ></p>-->
                </div>
            </div>
            <div class="form-group">
                <label for="password" class="col-sm-2 control-label">Password:</label>
                <div class="col-sm-4">
                    <input type="password" class="form-control" ng-model="user.password" placeholder="please input the password">
                </div>
            </div>
            <div class="form-group">
                <label for="password" class="col-sm-2 control-label">ReadOnly:</label>
                <div class="col-sm-4">
                    <div class="switch switch-small">
                        <input type="checkbox"  ng-model="user.readOnly"/>
                    </div>
                </div>
            </div>
            <div class="form-group" >
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="button" class="btn btn-info" ng-click="reg()" >Add</button>
                </div>
            </div>

        </fieldset>
        <div class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true" id="addedUserModal">
            <div class="modal-dialog modal-lg">
                <div class="modal-content">
                    <div class="modal-header" ng-style="color" id="resultModalHead">
                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
                        <h4 class="modal-title" id="myModalLabel">Message</h4>
                    </div>
                    <div class="modal-body">
                        <p ng-bind="message" ></p>
                    </div>

                </div>
            </div>
        </div>
    </form></div>
